POV-Ray : Newsgroups : povray.newusers : Parsing Q : Re: Parsing Q Server Time
29 Jul 2024 06:24:26 EDT (-0400)
  Re: Parsing Q  
From: Warp
Date: 29 May 2006 04:28:58
Message: <447ab0c9@news.povray.org>
M_a_r_c <jac### [at] wanadoofr> wrote:
> According to the documentation, the portion between #if and #end is skipped
> if the condition is false

  *Interpreting* that part is skipped, but POV-Ray has to go through it
in order to find the proper #else or #end in the first place. It can't
magically know where it is located if it doesn't go through the tokens
in the scene.
  IOW it will parse the body of the #if (in order to find the #else or #end)
but it will not interpret it.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.